package model;

public class Student {
	int xh;
	String name;
	String major;
	String sex;
	String birth;
	String classid;
	String classname;
	String classnum;
    public Student(String name) {
		this.name = name;
	}
	public Student(int xh, String name, String majoy, String sex, String birth, String classid, String classname,
			String classnum) {
		this.xh = xh;
		this.name =name;
		this.major = majoy;
		this.sex = sex;
		this.birth = birth;
		this.classid = classid;
		this.classname = classname;
        this.classnum= classnum;
	}
	public Student (int xh, String name, String majoy,String sex, String birth, String classid) {
		this.xh = xh;
		this.name =name;
		this.major = majoy;
		this.sex = sex;
		this.birth = birth;
		
		this.classid = classid;
	}

	public int getXh() {
		return xh;
	}

	public void setXh(int xh) {
		this.xh = xh;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMajoy() {
		return major;
	}

	public void setMajoy(String majoy) {
		this.major = major;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirth() {
		return birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	public String getClassid() {
		return classid;
	}

	public void setClassid(String classid) {
		this.classid = classid;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public String getClassnum() {
		return classnum;
	}

	public void setClassnum(String classnum) {
		this.classnum = classnum;
	}

}
